package cn.tedu._03vehicle.mapper;

import cn.tedu._03vehicle.pojo.entity.Vehicle;
import cn.tedu._03vehicle.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int insert(Vehicle vehicle);

    List<VehicleListVO> vehicleList(@Param("brand") String brand,
                                    @Param("license") String license,
                                    @Param("uid") Long uid);

    int deleteVehicle(@Param("id") Integer id,
                      @Param("userId") Long userId);
}










